#pragma once

namespace DXBase
{
	public ref class IOHelper sealed
	{
	private:
		IOHelper(void);
	public:
		static bool FileReachable(Platform::String^ filename);
		static Platform::String^ FullPath(Platform::String^ filename);
		static Platform::Array<byte>^ ReadFile(Platform::String^ filename);

	internal:
		static Microsoft::WRL::ComPtr<IStream> Bytes2Stream(const Platform::Array<byte>^ bytes);
	};
}